package com.itheima.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 阿里Oss配置类
 *
 * @author liudo
 * @version 1.0
 * @project tlias-backend
 * @date 2023/9/10 17:06:55
 */
@Component
@ConfigurationProperties(prefix = "ali.oss")
@Data
public class AliOssProperties {

    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
    private List<String> hobby;
}
